home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #8 / Software USA Volume 4.08.iso / mac / LifeStyles / ComicBase / ComicBase.sea / ComicBase 3 Mac Demo / ComicBase 3 Demo.rsrc / LENS_159_Password Dialog < prev    next >
Text File  |  1998-02-04  |  2KB  |  35 lines

  1. ItemType: WIND
  2. Rect: 431,250,741,368
  3. Style: Dialog
  4. HasTitleBar: FALSE
  5. HasZoomBox: FALSE
  6. Name: Password Dialog
  7. WhiteColor: -8739,-8739,-8739
  8. Script: --on windowEvent  wdID,wdName,objNo,objName,objValue¬¬global gComicShowPassword¬¬if objValue="Open" then ¬  centerWindow wdName, 3¬  wsSet wdID,"Password","Text", gComicShowPassword¬  wsSet wdID,"Password","Selection", "0,1000"¬  wsSet wdID,"Password","Keyfilter", "Only1Line"¬  ¬else if objValue="Close" then ¬  ¬else if objValue="Suspend" then ¬  ¬else if objValue="Resume" then ¬  ¬else if objValue="CloseBox" then ¬  ¬else if objValue="ZoomBox" then ¬  ¬else if objValue="GrowBox" then ¬  ¬else if objValue="TitleBar" then ¬  ¬end if¬¬--end windowEvent
  9.  
  10. ItemType: TEXT
  11. Rect: 8,7,298,39
  12. WhiteColor: -8739,-8739,-8739
  13. Text: Enter the password that users will need before being allowed to leave Comic Show:
  14.  
  15. ItemType: TEXT
  16. Rect: 8,46,298,68
  17. Name: Password
  18. LockText: FALSE
  19. KeyFilter: Only1Line
  20. Balloon: Type a password here that people will need to enter before being allowed to exit the demo mode.¬¬By setting a password, you can make sure that no unauthorized users can wreak havoc with your information while you are running a demo.
  21.  
  22. ItemType: PUSH
  23. Rect: 181,85,294,105
  24. Name: Set Password
  25. DefaultItem: TRUE
  26. AutoClose: TRUE
  27. Balloon: Click here to OK the password for demo mode. Make sure you remember it, as typed above, or you will need to restart your machine in order to exit the demo mode.
  28. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬Global gComicShowPassword¬¬put wsGet(wdID,"Password","Text") into gComicShowPassword¬¬--end mouseUp
  29.  
  30. ItemType: PUSH
  31. Rect: 90,85,170,105
  32. Name: Cancel
  33. CancelItem: TRUE
  34. AutoClose: TRUE
  35. Balloon: Click here to exit without entering a password for demo mode.